package com.dimeng;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

import com.dimeng.utils.CommonUtil;

/**
 * @author write by ccn<br>
 *         <b>helloandroid100@gmail.com</b>
 * @version 0.1;2012-7-11 下午4:05:45<br>
 *          descrition:关于我们的视图
 */
public class AboutUsActivity extends SuperActivity {
	private static final long serialVersionUID = -7475394976808828555L;
	private ImageButton checkUpdateButton;
	private Context context;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about_us);
		context = this;
		checkUpdateButton = (ImageButton) findViewById(R.id.checkUpdateId);
		CommonUtil.setButtonFocusChanged(checkUpdateButton);
		checkUpdateButton.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				CommonUtil.checkAppUpdate(context,true);
			}
		});
	}
}
